﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Artist_Portfolio.aspx.cs"
    Inherits="CTEA_INDIA.Artist_Portfolio" Theme="Default" %>

<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Artist Portfolio</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    <link href="CSS/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
    <link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
    <script src="JS/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="JS/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            // Tabs
            $('#tabs').tabs({ selected: 0 });
            $('#tabs').bind('tabsshow', function (event, ui) {
                var tabSelected = "#tab" + ui.index + "Selected";
                $(tabSelected).html("isClicked");
            });


            $('#menu_lnkArtistPortfolio').css({ color: '#DBA615' });



            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
					function () { $(this).addClass('ui-state-hover'); },
					function () { $(this).removeClass('ui-state-hover'); }
				);
        });
    </script>
    <script type="text/javascript">







        function SearchCrit(dropdown) {
            if (dropdown.selectedIndex == 0) {

                document.getElementById("TdSrchLoc").style.visibility = "collapse";
                document.getElementById("TdSrchName").style.visibility = "collapse";
            }
            else if (dropdown.selectedIndex == 1) {
                document.getElementById("TdSrchLoc").style.visibility = "collapse";
                document.getElementById("TdSrchName").style.visibility = "Visible";
                //document.getElementById("TdSrchName").style.margin = "-30px 0px 0px 240px";

            }
            else {
                document.getElementById("TdSrchLoc").style.visibility = "Visible";
                //document.getElementById("TdSrchLoc").style.margin = "0px 0px 0px -180px";

                document.getElementById("TdSrchName").style.visibility = "collapse";
            }
        }


        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
        }
    </script>
    <style type="text/css">
        .newrowTr
        {
            height: 100;
        }
        
        .newcolTd
        {
            height: 120px;
            width: 120px;
            border: 1px solid #F6A828;
            text-align: center;
            color: #F6A828;
            font-size : 0.7em ;
            margin-right :5px ; 
            margin-bottom : 3px ;
        }
        
        .imgnewIm
        {
            width: 100px;
            height: 100px;
        }
        
        .newAA
        {
            color: #F6A828;
            text-decoration: none;
        }
        
        .newAA:hover
        {
            color: #1C94C4;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div>
        <center>
            <div>
                <table border="0">
                    <tr>
                        <td valign="top" align="center">
                            <table class="MainDiv" width="900px">
                                <tr>
                                    <td valign="top">
                                        <m1:Menu runat="server" ID="menu" />
                                    </td>
                                    <td valign="top" align="left">
                                        <table cellpadding="0px" cellspacing="0px" border="0" style="border: 1px; border-color: #ffff"
                                            width="600px">
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Label ID="Label1" runat="server" Text="Artist Portfolio" CssClass="headingpage"></asp:Label>
                                                    <div class="imgstrip">
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div id="tabs">
                                                        <ul>
                                                            <li><a href="#tabs-0">New Portfolio</a></li>
                                                            <li><a href="#tabs-1">View All</a></li>
                                                        </ul>
                                                        <div id="tabs-0" style="overflow: auto;">
                                                            <input type="hidden" id="tab0Selected" />
                                                            <div id="Div23" style="text-align: left;">
                                                                <asp:UpdatePanel ID="updtePnl" runat="server" UpdateMode="Conditional">
                                                                    <ContentTemplate>
                                                                        <table>
                                                                            <tr>
                                                                                <td>
                                                                                    <fieldset>
                                                                                        <legend class="headingfieldset">Personal Details</legend>
                                                                                        <table cellpadding="3" cellspacing="5" border="0">
                                                                                            <tr>
                                                                                                <td id="spnMsg" runat="server" visible="false" style="border: 1px solid green; background: #BFFFDF;
                                                                                                    width: 600px;" align="center">
                                                                                                    <span style="border: none;" runat="server" id="spnText" visible="true" class="spanMsgs">
                                                                                                    </span>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td style="width: 180px;" class="Label " align="left">
                                                                                                    Name<span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtName" runat="server" MaxLength="50" Width="150px"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator6" runat="server"
                                                                                                        Display="None" ControlToValidate="txtName" ErrorMessage="Please, Enter Name"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender11" runat="server" TargetControlID="RequiredFieldValidator6">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Location
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="cmbLocation" runat="server">
                                                                                                    </asp:DropDownList>
                                                                                                    <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" valign="top" align="left">
                                                                                                    Group of Artist <span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtAddress" runat="server" Height="56px" TextMode="MultiLine"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator1" runat="server"
                                                                                                        Display="None" ControlToValidate="txtAddress" ErrorMessage="Please, Enter Group"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" TargetControlID="RequiredFieldValidator1">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Type
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="cmbType" runat="server">
                                                                                                        <asp:ListItem>Male</asp:ListItem>
                                                                                                        <asp:ListItem>Female</asp:ListItem>
                                                                                                        <asp:ListItem>Child</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Category
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="cmbCategory" runat="server">
                                                                                                        <asp:ListItem>Artist</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Birth Date: <span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtBDate" runat="server"></asp:TextBox>
                                                                                                    <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtBDate">
                                                                                                    </asp:CalendarExtender>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator2" runat="server"
                                                                                                        Display="None" ControlToValidate="txtBDate" ErrorMessage="Please, Enter Date of birth"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RequiredFieldValidator2">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Valid From: <span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtValidFrom" runat="server"></asp:TextBox>
                                                                                                    <asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtValidFrom">
                                                                                                    </asp:CalendarExtender>
                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="None"
                                                                                                        ControlToValidate="txtValidFrom" ErrorMessage="Please, Enter Valid from date"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RequiredFieldValidator3">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Valid Till: <span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtValidTill" runat="server"></asp:TextBox>
                                                                                                    <asp:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtValidTill">
                                                                                                    </asp:CalendarExtender>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator4" runat="server"
                                                                                                        Display="None" ControlToValidate="txtValidTill" ErrorMessage="Please, Enter Valid from date"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RequiredFieldValidator4">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label " align="left">
                                                                                                    Email Id<span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                                                                                                    <asp:RegularExpressionValidator ValidationGroup="AC" ID="RegularExpressionValidator1"
                                                                                                        runat="server" ErrorMessage="Invalid Email" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                                                                        Display="None"></asp:RegularExpressionValidator>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator5" runat="server"
                                                                                                        Display="None" ControlToValidate="txtEmail" ErrorMessage="Please, Enter Email"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" TargetControlID="RequiredFieldValidator5">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" TargetControlID="RegularExpressionValidator1">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Photo Id Proof
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="cmbIdProof" runat="server">
                                                                                                        <asp:ListItem Value="-1">Select Proof</asp:ListItem>
                                                                                                        <asp:ListItem>Passport</asp:ListItem>
                                                                                                        <asp:ListItem>Voters Identity card</asp:ListItem>
                                                                                                        <asp:ListItem>PAN card</asp:ListItem>
                                                                                                        <asp:ListItem>Driving licence</asp:ListItem>
                                                                                                        <asp:ListItem>Unique Identification Card 'Aadhar'</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator9" runat="server"
                                                                                                        ErrorMessage="Please,Select Id Proof" InitialValue="-1" ControlToValidate="cmbIdProof"
                                                                                                        Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server" TargetControlID="RequiredFieldValidator9">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                    <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Address Proof
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:DropDownList ID="cmbAddressProof" runat="server">
                                                                                                        <asp:ListItem Value="-1">Select Proof</asp:ListItem>
                                                                                                        <asp:ListItem>Driving licence</asp:ListItem>
                                                                                                        <asp:ListItem>Unique Identification Card 'Aadhar'</asp:ListItem>
                                                                                                        <asp:ListItem>Electricity Bill</asp:ListItem>
                                                                                                        <asp:ListItem>Telephone Bill</asp:ListItem>
                                                                                                        <asp:ListItem>Ration Card</asp:ListItem>
                                                                                                        <asp:ListItem>Passport</asp:ListItem>
                                                                                                        <asp:ListItem>Voters Identity card</asp:ListItem>
                                                                                                    </asp:DropDownList>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator10" runat="server"
                                                                                                        ErrorMessage="Please,Select Address Proof" InitialValue="-1" ControlToValidate="cmbAddressProof"
                                                                                                        Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" runat="server" TargetControlID="RequiredFieldValidator10">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                    <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td style="width: 180px;" class="Label " align="left">
                                                                                                    Amount<span class="SpnColor">*</span>
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtAmount" runat="server" MaxLength="10" Width="150px" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                                    <asp:RequiredFieldValidator ValidationGroup="AC" ID="RequiredFieldValidator11" runat="server"
                                                                                                        Display="None" ControlToValidate="txtAmount" ErrorMessage="Please, Enter Amount"
                                                                                                        CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender12" runat="server" TargetControlID="RequiredFieldValidator11">
                                                                                                    </asp:ValidatorCalloutExtender>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                    Photo For ID Card
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:FileUpload ID="FPhoto" runat="server" />
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Artist Card No.
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:Label ID="lblArtisCardNo" Font-Bold="true" runat="server" Text=""></asp:Label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td class="Label" align="left">
                                                                                                    Send to.
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:RadioButton Checked="true" GroupName="SendTo" ID="RadioButton1" runat="server"
                                                                                                        Text="Branch" onclick="sendTo()" />
                                                                                                    <asp:RadioButton ID="RadioButton2" GroupName="SendTo" runat="server" Text="Home"
                                                                                                        onclick="sendTo()" />
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr valign="top" id="PostalAddr" style="visibility: hidden;">
                                                                                                <td class="Label" align="left">
                                                                                                    Postal Address.
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox SkinID="Sugg" ID="txtPostalAddr" runat="server" TextMode="MultiLine"
                                                                                                        Columns="3"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </fieldset>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                    <fieldset>
                                                                                        <legend class="headingfieldset">References</legend>
                                                                                        <table cellpadding="3" cellspacing="5" border="0">
                                                                                            <tr>
                                                                                                <td style="width: 180px;" class="Label " align="left">
                                                                                                    Reference Name
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtRefName" runat="server" MaxLength="50" Width="150px"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td style="width: 180px;" class="Label " align="left">
                                                                                                    Reference Contact
                                                                                                </td>
                                                                                                <td align="left">
                                                                                                    <asp:TextBox ID="txtRefCon" runat="server" MaxLength="15" Width="150px" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <%-- <tr>
                                                                                                <td align="center">
                                                                                                    <asp:Button ID="btnSubmitForm" runat="server" Text="Submit" OnClick="btnSubmitForm_Click"
                                                                                                        CausesValidation="false" />
                                                                                                </td>
                                                                                            </tr>--%>
                                                                                        </table>
                                                                                    </fieldset>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                                <div id="ArtistPort">
                                                                    <fieldset id="UploadImage" runat="server">
                                                                        <legend class="fieldset">Select Image(s)</legend><span class="SpanMsg " id="idSpanPortImage"
                                                                            runat="server"></span>
                                                                        <div>
                                                                            <asp:Label ID="Label2" runat="server" Text="Locate File:" CssClass="tdContent " />&nbsp;&nbsp;
                                                                            <asp:FileUpload ID="fileUp" runat="server" BorderStyle="Ridge" />
                                                                            <br />
                                                                            <br />
                                                                            <asp:Label ID="Description" runat="server" Text="Description:" CssClass="tdContent "> </asp:Label>&nbsp;&nbsp;
                                                                            <asp:TextBox ID="txtDescImg" runat="server" Width="349px"></asp:TextBox>
                                                                            <asp:Button ID="btnAddFile" runat="server" Text="Click Here to Attach Choosen File"
                                                                                OnClick="btnAddFile_Click" CssClass="btnsubmit" CausesValidation="false" />
                                                                        </div>
                                                                        <br />
                                                                        <div>
                                                                            <asp:Label ID="lblCurrentFileCount" runat="server"></asp:Label>
                                                                            <br />
                                                                            <fieldset>
                                                                                <legend class="fieldset">Upload List</legend>
                                                                                <asp:DataList ID="dlPhotoFiles" runat="server" RepeatColumns="10" RepeatDirection="Horizontal">
                                                                                    <ItemTemplate>
                                                                                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# string.Format("~/getImage.aspx?id={0}", Eval("id")) %>'
                                                                                            Width="50" AlternateText='<%# Eval("fileDesc") %>' />
                                                                                        <br />
                                                                                        <asp:LinkButton ID="lnkBtnRemovePhoto" runat="server" CommandArgument='<%# Eval("id") %>'
                                                                                            OnCommand="lnkBtnRemovePhoto_Command" CausesValidation="false">Remove</asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:DataList>
                                                                            </fieldset>
                                                                            <br />
                                                                        </div>
                                                                        <br />
                                                                        <br />
                                                                        <br />
                                                                    </fieldset>
                                                                </div>
                                                                <div style="margin-top: 10px; text-align: center;">
                                                                    <asp:Button ValidationGroup="AC" ID="btnUploadFiles" runat="server" Text="Save" CssClass="btnsubmit"
                                                                        CausesValidation="true" OnClick="btnUploadFiles_Click1" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div id="tabs-1" style="text-align: left; overflow: auto;">
                                                            <input type="hidden" id="tab1Selected" />
                                                            <div id="Div2gg" style="text-align: left;">
                                                                <table width="100%" border="0">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlCandidate">
                                                                                <ProgressTemplate>
                                                                                    <center>
                                                                                        <div id="pageLoading">
                                                                                            <center>
                                                                                                <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                                                    alt="loading" />
                                                                                                <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                                                    Loading...
                                                                                                </div>
                                                                                            </center>
                                                                                            <div id="transparentBg" class="transparentBg">
                                                                                            </div>
                                                                                        </div>
                                                                                    </center>
                                                                                </ProgressTemplate>
                                                                            </asp:UpdateProgress>
                                                                            <asp:UpdatePanel ID="upPnlCandidate" runat="server">
                                                                                <ContentTemplate>
                                                                                    <table border="0" width="100%">
                                                                                        <tr style ="visibility : hidden ;" id="search">
                                                                                            <td height="50px">
                                                                                                <div style="float: left;">
                                                                                                    <div style="float: left;">
                                                                                                        <asp:Label ID="Label22" runat="server" Text="Search:" CssClass="Label"></asp:Label>
                                                                                                        <asp:DropDownList ID="cmbSearchHireEquip" SkinID="ddlVerySmallNew" runat="server"
                                                                                                            onchange="SearchCrit(this.form.cmbSearchHireEquip)">
                                                                                                            <asp:ListItem Text="View all" Value="0" Selected="True"></asp:ListItem>
                                                                                                            <asp:ListItem Text="Name" Value="1">
                                                                                                            </asp:ListItem>
                                                                                                            <asp:ListItem Text="Location" Value="2"></asp:ListItem>
                                                                                                        </asp:DropDownList>
                                                                                                    </div>
                                                                                                    <div id="TdSrchName" style="float: left; margin: 0px 0px 0px 5px; visibility: hidden">
                                                                                                        <asp:TextBox ID="txtSrchName" SkinID="x-bigboxNew" runat="server"></asp:TextBox>
                                                                                                        <asp:TextBoxWatermarkExtender ID="txtName_TextBoxWatermarkExtender" WatermarkText="Enter Name to Search"
                                                                                                            WatermarkCssClass="Watermarktxt" runat="server" TargetControlID="txtSrchName">
                                                                                                        </asp:TextBoxWatermarkExtender>
                                                                                                    </div>
                                                                                                    <div style="float: left; margin: 0px 0px 0px 5px; visibility: hidden" id="TdSrchLoc">
                                                                                                        <asp:DropDownList ID="cmbSrchLoc" SkinID="ddlSmallNew" runat="server">
                                                                                                        </asp:DropDownList>
                                                                                                    </div>
                                                                                                    <%--
                                                                                                        <div style="float: left; margin: -29px 0px 0px 5px">--%>
                                                                                                    <div style="float: left; margin: 0px 0px 0px 5px;">
                                                                                                        <asp:Button ID="btnSearch" CausesValidation="false" runat="server" Text="Search"
                                                                                                            CssClass="btnsubmit" OnClick="btnSearch_Click" />
                                                                                                    </div>
                                                                                                </div>
                                                                                                <br />
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                                <table>
                                                                                                    <tr class="newrowTr">
                                                                                                        <td class="newcolTd">
                                                                                                            <a class="newAA" href="portView.aspx?type=Director">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Director</a>
                                                                                                        </td>
                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Technician">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Technician</a>
                                                                                                        </td>
                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Script Writer">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Script Writer</a>
                                                                                                        </td>
                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Lyrics Writer">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Lyrics Writer</a>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="newrowTr">

                                                                                                        <td class="newcolTd">
                                                                                                            <a class="newAA" href="portView.aspx?type=Music Director">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Music Director</a>
                                                                                                        </td>
                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Singer">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Singer</a>
                                                                                                        </td>
                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Dance Director/Choreographer">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Dance Director/Choreographer</a>
                                                                                                        </td>
                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Artist Manager/Secretary">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Artist Manager/Secretary</a>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="newrowTr">
                                                                                                        <td class="newcolTd">
                                                                                                            <a class="newAA" href="portView.aspx?type=Media planning/Advertising Comapany">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Media planning/Advertising Comapany</a>
                                                                                                        </td>

                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=TV Channel">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                <br />TV Channel</a>
                                                                                                        </td>

                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Film Industry Associate">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Film Industry Associate</a>
                                                                                                        </td>

                                                                                                        <td class="newcolTd">
                                                                                                        <a class="newAA" href="portView.aspx?type=Casting Agency">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Casting Agency</a>
                                                                                                        </td>
                                                                                                    </tr>

                                                                                                    <tr class="newrowTr">
                                                                                                        <td class="newcolTd">
                                                                                                            <a class="newAA" href="portView.aspx?type=Product Partner">
                                                                                                                <img src="Images/artist.jpg" class="imgnewIm" />
                                                                                                                Product Partner</a>
                                                                                                        </td>
                                                                                                        
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td valign="top" width="480px" align="center">
                                                                                                <!--modal view !-->


                                                                                                <asp:Button ID="btnHiddenPerson" runat="server" Style="display: none" />
                                                                                                <asp:GridView ID="gdArtistCard" Visible="false" runat="server" BackColor="White" Width="100%" BorderColor="#DEDFDE"
                                                                                                    DataKeyNames="Artist_Card_Id" BorderStyle="None" BorderWidth="1px" CellPadding="4"
                                                                                                    ForeColor="Black" GridLines="Vertical" AllowPaging="True" AutoGenerateColumns="False"
                                                                                                    OnRowDataBound="gdArtistCard_RowDataBound" EmptyDataText="No data found." OnPageIndexChanging="gdArtistCard_PageIndexChanging">
                                                                                                    <AlternatingRowStyle BackColor="White" />
                                                                                                    <Columns>
                                                                                                        <asp:BoundField HeaderText="Name" DataField="Name" ItemStyle-Width="120px">
                                                                                                            <ItemStyle Width="200px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="Location" DataField="Location" ItemStyle-Width="180">
                                                                                                            <ItemStyle Width="200px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="Category" DataField="Category" ItemStyle-Width="80">
                                                                                                            <ItemStyle Width="80px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkView" runat="server" Text="View" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                    OnClick="lnkView_Click" CausesValidation="false"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                    OnClick="lnkEdit_Click" CausesValidation="false"></asp:LinkButton>
                                                                                                                <asp:LinkButton ID="lnkHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton CausesValidation="false" OnClick="lnkDelete_Click" ID="lnkDelete"
                                                                                                                    runat="server" Text="Delete" ForeColor="#0066FF" ItemStyle-Width="10"></asp:LinkButton>
                                                                                                                <asp:LinkButton ID="lnkApHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton CausesValidation="false" OnClick="ViewCard" ID="lnkViewCard" runat="server"
                                                                                                                    Text="View Card" ForeColor="#0066FF" ItemStyle-Width="10"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                    </Columns>
                                                                                                    <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                                                    <FooterStyle BackColor="#CCCC99" />
                                                                                                    <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                                                    <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                                                    <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                                                    <AlternatingRowStyle BackColor="#edf7fa" />
                                                                                                </asp:GridView>
                                                                                                <asp:ModalPopupExtender ID="lnkView_ModalPopupExtender" runat="server" TargetControlID="btnHiddenPerson"
                                                                                                    CancelControlID="cancelBtnView" PopupControlID="pnlLnkView" BackgroundCssClass="modalBackground">
                                                                                                </asp:ModalPopupExtender>
                                                                                                <asp:Panel ID="pnlLnkView" runat="server">
                                                                                                    <table width="600px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                                                        style="margin-left: 50px">
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <div style="float: right">
                                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnView" /></div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4" class="gdheadingNew">
                                                                                                                Artist Portfolio
                                                                                                                <hr />
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <fieldset>
                                                                                                                    <legend>Personal Details</legend>
                                                                                                                    <table>
                                                                                                                        <tr>
                                                                                                                            <td>
                                                                                                                                <tr>
                                                                                                                                    <td style="width: 160px;" class="tdheader modalCandidate">
                                                                                                                                        Name:
                                                                                                                                    </td>
                                                                                                                                    <td width="150px" class="modalCandidate ">
                                                                                                                                        <asp:Label ID="lblViewName" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="Tr1" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Location:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewLocation" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="Tr2" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Artist Type:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewType" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="trAdd" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Category:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewCategory" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr3" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Date of Birth:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewDOB" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr4" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Valid From:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewVF" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr5" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Valid Till:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewVT" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr6" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Email:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewEMail" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr9" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Amount:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewAmount" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr7" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Photo Id Proof:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewIdProof" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr8" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Address Proof:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewAddrProof" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                            </td>
                                                                                                                        </tr>
                                                                                                                    </table>
                                                                                                                </fieldset>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <fieldset>
                                                                                                                    <legend>References</legend>
                                                                                                                    <table>
                                                                                                                        <tr>
                                                                                                                            <td>
                                                                                                                                <tr>
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Reference Name:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewRefName" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr>
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Reference Contact:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblVIewRefCon" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                            </td>
                                                                                                                        </tr>
                                                                                                                    </table>
                                                                                                                </fieldset>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <asp:PlaceHolder ID="phdImgGallry" runat="server"></asp:PlaceHolder>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <div id="loadarea2">
                                                                                                                </div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                                <asp:Button ID="btnHiddenPerson1" runat="server" Style="display: none" />
                                                                                                <asp:ModalPopupExtender ID="LnkEditPopUp" runat="server" TargetControlID="btnHiddenPerson1"
                                                                                                    CancelControlID="cancelBtnEdit2" PopupControlID="pnlLnkEdit" BackgroundCssClass="modalBackground">
                                                                                                </asp:ModalPopupExtender>
                                                                                                <asp:Panel ID="pnlLnkEdit" runat="server">
                                                                                                    <table width="600px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                                                        style="margin-left: 50px">
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <div style="float: right">
                                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdit2" /></div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td colspan="4">
                                                                                                                            <fieldset>
                                                                                                                                <legend>Personal Details</legend>
                                                                                                                                <table width="450px" border="0" cellpadding="3" cellspacing="0" style="margin-left: 20px">
                                                                                                                                    <tr>
                                                                                                                                        <td style="width: 180px;" class="Label" valign="top" align="left">
                                                                                                                                            Name<span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtName" runat="server" MaxLength="50" Width="150px"></asp:TextBox>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator12"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtName" ErrorMessage="Please, Enter Name"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender13" runat="server" TargetControlID="RequiredFieldValidator12">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Location
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtLocation" runat="server" onchange="isCategory()">
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" valign="top" align="left">
                                                                                                                                            Group of Artist <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtGroup" runat="server" Height="56px" TextMode="MultiLine"></asp:TextBox>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator13"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtGroup" ErrorMessage="Please, Enter Group"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender14" runat="server" TargetControlID="RequiredFieldValidator13">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Type
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtType" runat="server">
                                                                                                                                                <asp:ListItem>Male</asp:ListItem>
                                                                                                                                                <asp:ListItem>Female</asp:ListItem>
                                                                                                                                                <asp:ListItem>Child</asp:ListItem>
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Category
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtCategory" runat="server" onchange="isCategoryEdt()">
                                                                                                                                                <asp:ListItem>Director</asp:ListItem>
                                                                                                                                                <asp:ListItem>Technician</asp:ListItem>
                                                                                                                                                <asp:ListItem>Artist</asp:ListItem>
                                                                                                                                                <asp:ListItem>Script Writer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Lyrics Writer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Music Director</asp:ListItem>
                                                                                                                                                <asp:ListItem>Singer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Dance Director/Choreographer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Artist Manager/Secretary</asp:ListItem>
                                                                                                                                                <asp:ListItem>Media planning/Advertising Comapany</asp:ListItem>
                                                                                                                                                <asp:ListItem>TV Channel</asp:ListItem>
                                                                                                                                                <asp:ListItem>Film Industry Associate</asp:ListItem>
                                                                                                                                                <asp:ListItem>Casting Agency</asp:ListItem>
                                                                                                                                                <asp:ListItem>Product Partner</asp:ListItem>
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr style="visibility: collapse;" id="EdtTechnical">
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Technician Type
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtTechType" runat="server">
                                                                                                                                                <asp:ListItem>Camera Man</asp:ListItem>
                                                                                                                                                <asp:ListItem>Light Man</asp:ListItem>
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Birth Date: <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td>
                                                                                                                                            <asp:TextBox ID="txtEdtBDate" runat="server"></asp:TextBox>
                                                                                                                                            <asp:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="txtEdtBDate">
                                                                                                                                            </asp:CalendarExtender>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator14"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtBDate" ErrorMessage="Please, Enter Date of birth"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender15" runat="server" TargetControlID="RequiredFieldValidator14">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Valid From: <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td>
                                                                                                                                            <asp:TextBox ID="txtEdtValidFrom" runat="server"></asp:TextBox>
                                                                                                                                            <asp:CalendarExtender ID="CalendarExtender5" runat="server" TargetControlID="txtEdtValidFrom">
                                                                                                                                            </asp:CalendarExtender>
                                                                                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" Display="None"
                                                                                                                                                ControlToValidate="txtEdtValidFrom" ErrorMessage="Please, Enter Valid from date"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender16" runat="server" TargetControlID="RequiredFieldValidator15">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Valid Till: <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td>
                                                                                                                                            <asp:TextBox ID="txtEdtValidTill" runat="server"></asp:TextBox>
                                                                                                                                            <asp:CalendarExtender ID="CalendarExtender6" runat="server" TargetControlID="txtEdtValidTill">
                                                                                                                                            </asp:CalendarExtender>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator16"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtValidTill" ErrorMessage="Please, Enter Valid from date"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender17" runat="server" TargetControlID="RequiredFieldValidator16">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label " align="left">
                                                                                                                                            Email Id<span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtEmail" runat="server"></asp:TextBox>
                                                                                                                                            <asp:RegularExpressionValidator ValidationGroup="edit" ID="RegularExpressionValidator2"
                                                                                                                                                runat="server" ErrorMessage="Invalid Email" ControlToValidate="txtEdtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                                                                                                                Display="None"></asp:RegularExpressionValidator>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator17"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtEmail" ErrorMessage="Please, Enter Email"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender18" runat="server" TargetControlID="RequiredFieldValidator17">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender19" runat="server" TargetControlID="RegularExpressionValidator2">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                </table>
                                                                                                                            </fieldset>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td colspan="4">
                                                                                                                            <fieldset>
                                                                                                                                <legend>References</legend>
                                                                                                                                <table width="450px" border="0" cellpadding="3" cellspacing="0" style="margin-left: 20px">
                                                                                                                                    <tr>
                                                                                                                                        <td style="width: 180px;" class="Label " align="left">
                                                                                                                                            Reference Name:
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtRefName" runat="server" MaxLength="50" Width="150px"></asp:TextBox>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td style="width: 180px;" class="Label " align="left">
                                                                                                                                            Reference Contact:
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtRefCon" runat="server" MaxLength="50" Width="150px" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                </table>
                                                                                                                            </fieldset>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td colspan="2" align="center">
                                                                                                                            <asp:Button ValidationGroup="edit" ID="ButtonUpdate" CausesValidation="true" CssClass="btnsubmit"
                                                                                                                                runat="server" Text="Update" OnClick="update" />
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ContentTemplate>
                                                                            </asp:UpdatePanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </center>
    </div>
    </form>
</body>
</html>
